﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddSystemParameter.ascx.vb" Inherits="WebForm_ManageSystemParameter_AddSystemParameter" %>
<asp:FormView ID="fvParameter" runat="server" DefaultMode="Insert" DataKeyNames="ParameterType,ParameterName" >
    <ItemTemplate>
        <table>
            
            <tr>
                <td align="right" style="height: 26px">
                    <asp:Label ID="lblParameterType" runat="server" meta:resourcekey="lblParameterType" ></asp:Label>
                </td>
                <td align="left" style="height: 26px">
                    <asp:Label ID="lblParameterType1" runat="server" Text='<%# Eval("Text") %>'></asp:Label>
                    <asp:Label ID="lblText" runat="server" Text='<%# Eval("ParameterType") %>' Visible="False"></asp:Label></td>
            </tr>
            
            <tr>
                <td align="right">
                    <asp:Label ID="lblParameterText" runat="server" meta:resourcekey="lblParameterText"></asp:Label>&nbsp;</td>
                <td align="left">
                    <asp:TextBox ID="txtParameterText" runat="server" Text='<%# Bind("ParameterText") %>' MaxLength="250" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvParameterText" meta:resourcekey="rfvParameterText" runat="server" ControlToValidate="txtParameterText"
                        Display="None" ValidationGroup="vEdit"></asp:RequiredFieldValidator></td>
            </tr>
            
            <tr>
                <td align="right" style="height: 45px">
                    <asp:Label ID="lblParameterValue" runat="server" meta:resourcekey="lblParameterValue"></asp:Label>
                </td>
                <td align="left" style="height: 45px">
                    <asp:TextBox ID="txtParameterValue" runat="server" Text='<%# Bind("ParameterValue") %>' MaxLength="50"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="rfvParameterValue" runat="server" ControlToValidate="txtParameterValue"
                        ValidationGroup="vEdit" meta:resourcekey="rfvParameterValue"></asp:RequiredFieldValidator></td>
            </tr> 
            
            <tr>
                <td align="right">
                    <asp:Label ID="lblParameterName" runat="server" meta:resourcekey="lblParameterName" Visible="False"></asp:Label>&nbsp;</td>
                <td align="left">
                    &nbsp;<asp:Button ID="btnSave" runat="server" meta:resourcekey="btnSave" CommandName="btnSave" ValidationGroup="vEdit"/>
                    <asp:Label ID="lblParameterNmae1" runat="server" Text='<%# Eval("ParameterName") %>' Visible="False"></asp:Label></td>
            </tr>
            
            <tr>
                <td align="right" style="height: 21px">
                    <asp:Label ID="lblActive" runat="server" meta:resourcekey="lblActive" Visible="False"></asp:Label>&nbsp;</td>
                <td align="left" style="height: 21px">
                    <asp:Label ID="lblActive1" runat="server" Text='<%# Eval("Active") %>' Visible="False"></asp:Label></td>
            </tr>
            
            <tr>
                <td align="right">
                </td>
                <td align="left">

                    </td>
            </tr>            
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
            ShowSummary="False" ValidationGroup="vEdit" />
    </ItemTemplate>
    
</asp:FormView>